package vo;

import java.util.Date;

public class NoticeVO {
	private int notice_no;
	private MemberVO member;
	private String notice_title;
	private String notice_content;
	private int notice_read;
	private Date notice_regdate;

	public NoticeVO() {}

	public NoticeVO(int notice_no) {
		this.notice_no = notice_no;
	}

	public NoticeVO(int notice_no, MemberVO member, String notice_title,
			String notice_content, int notice_read, Date notice_regdate) {
		this.notice_no = notice_no;
		this.member = member;
		this.notice_title = notice_title;
		this.notice_content = notice_content;
		this.notice_read = notice_read;
		this.notice_regdate = notice_regdate;
	}

	public int getNotice_no() {
		return notice_no;
	}

	public void setNotice_no(int notice_no) {
		this.notice_no = notice_no;
	}

	public MemberVO getMember() {
		return member;
	}

	public void setMember(MemberVO member) {
		this.member = member;
	}

	public String getNotice_title() {
		return notice_title;
	}

	public void setNotice_title(String notice_title) {
		this.notice_title = notice_title;
	}

	public String getNotice_content() {
		return notice_content;
	}

	public void setNotice_content(String notice_content) {
		this.notice_content = notice_content;
	}

	public int getNotice_read() {
		return notice_read;
	}

	public void setNotice_read(int notice_read) {
		this.notice_read = notice_read;
	}

	public Date getNotice_regdate() {
		return notice_regdate;
	}

	public void setNotice_regdate(Date notice_regdate) {
		this.notice_regdate = notice_regdate;
	}

	@Override
	public String toString() {
		return "NoticeVO [notice_no=" + notice_no + ", member=" + member
				+ ", notice_title=" + notice_title + ", notice_content="
				+ notice_content + ", notice_read=" + notice_read
				+ ", notice_regdate=" + notice_regdate + "]";
	}
}
